#if !defined(AFX_AUDIOSETTINGDLG_H__11E699E7_E62E_4005_A131_5B804E7EDB08__INCLUDED_)
#define AFX_AUDIOSETTINGDLG_H__11E699E7_E62E_4005_A131_5B804E7EDB08__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// audiosettingdlg.h : header file
//

#include "../RMSLib/clientinterface.h"
#include "../Lib/String.h"

/////////////////////////////////////////////////////////////////////////////
// CAudioSettingDlg dialog

class CAudioSettingDlg : public CDialog,
						 public ClientAccess
{
// Construction
public:
	CAudioSettingDlg(ClientInterface* pClient, CWnd* pParent = NULL);

// Dialog Data
	//{{AFX_DATA(CAudioSettingDlg)
	enum { IDD = IDD_AUDIOSETTINGS };
	CComboBox	m_Combo;
	//}}AFX_DATA

	int m_nPrevInd;
	String m_strSelectedAudio;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAudioSettingDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	private:
		bool ReloadDriver(int ind);
		bool m_bFirst;
// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAudioSettingDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCombo1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AUDIOSETTINGDLG_H__11E699E7_E62E_4005_A131_5B804E7EDB08__INCLUDED_)
